package com.love.cloud.admin.notify.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.love.cloud.common.mybatis.entity.SimpleBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * @author hongdongqu
 */
@Data
@Entity
@Table(name = "notify_picture")
@TableName("notify_picture")
@EqualsAndHashCode(callSuper = false)
@org.hibernate.annotations.Table(appliesTo = "notify_picture",comment="通知公告图片表")
public class NotifyPicture extends SimpleBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章id")
    @Column(columnDefinition = "bigint(20) COMMENT '文章id'")
    private Long articleId;

    @ApiModelProperty(value = "图片地址")
    @Column(columnDefinition = "VARCHAR(255) COMMENT '图片地址'")
    private String imgUrl;


    @ApiModelProperty(value = "备注")
    @Column(columnDefinition = "VARCHAR(255) COMMENT '备注'")
    private String remarks;
}
